package org.lboot.dthread.constant;

/**
 * 父子线程调用关系
 */
public enum ForkStrategy {

    // 上下文独立
    ISOLATION(0,"ISOLATION"),
    // 上下文透传
    PENETRATION(1,"PENETRATION");

    public final int code;
    public final String strategy;



    ForkStrategy(int code, String strategy){
        this.code = code;
        this.strategy = strategy;
    }


}
